package com.hibase.core.page.entity.listxml;


import com.hibase.core.page.entity.modulexml.ModuleChildrenXmlVo;
import com.hibase.core.page.entity.modulexml.vo.ModuleShowColumnVO;
import com.hibase.core.page.entity.window.ParamXmlVo;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import lombok.Data;

import java.util.List;

/**
 * 描述:
 *
 * @author li-wei-hua
 * @date 2021-03-23 17:16
 */
@Data
public class ListCustomSearchXmlVO {

	private String id;
	private String name;
	private String type;
	private String code;
	private String format;
	private String requestUrl;
	private String value;
	private List<ModuleShowColumnVO> columns;
	private String selectValue;

	private List<ModuleChildrenXmlVo> childrens;

	private List<ParamXmlVo> params;
	
	private String showName;
	
	private String defaultValue;
	
	/**
	 * 几行占一行
	 */
	@XStreamAsAttribute
	@XStreamAlias("row")
	private Integer row;

	/**
	 * 保留字段
	 */
	@XStreamAsAttribute
	@XStreamAlias("col")
	private Integer col;

	/**
	 * 随意配置，前端算 根据row
	 */
	@XStreamAsAttribute
	@XStreamAlias("span")
	private Integer span;
	
	@XStreamAsAttribute
	@XStreamAlias("maxLength")
	private Integer maxLength;
}